Three simple methods showing how to play 'snd ' sound resources:
• play snd
Expects the name of an 'snd ' resource as input, and plays the sound if it finds it.
• test play snd
Puts up an "ask" dialog, asking for the name of an 'snd ' sound resource, and then calls "play snd " to play it.
• Play snds example
Puts up a list of resource IDs and names of all 'snd ' resources available at the time, from which the user can select one to be played. This example gets the 'snd ' resource by its resource ID number rather than by its name before it plays it (resources do not have to have a name, but they must have IDs).